package com.why.extender.rpcextend.extend;


import com.why.rpc.core.server.starter.NettyRpcServer;
import com.why.simpleboot.core.core.ApplicationContext;
import com.why.simpleboot.core.extend.SimpleBootApplicationRunner;

/**
 * @program: why-simpleboot-framework
 * @description: 完成RPC端服务器的启动
 * @author: @why
 * @create: 2021-06-15 12:52
 **/
public class WhyRpcRunner implements SimpleBootApplicationRunner {
    private static final NettyRpcServer nettyRpcServer = new NettyRpcServer();
    @Override
    public void run(ApplicationContext applicationContext) {
        nettyRpcServer.start();
    }
}
